﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace BlackBird.Models
{
	/// <summary>
	/// 供货商信息
	/// </summary>
	public class SupplierDM
	{
		public string Id { get; set; }
		public string Name { get; set; }
        public string Address { get; set; }
        //public string Contacter { get; set; }
        //public string CallNumber { get; set; }
        public Contactor ContactorInfo { get; set; }
	}

	/// <summary>
	/// 供货商关于某件商品的报价，和审核人员对价格的审核
	/// </summary>
	public class SupplierDeclarePriceDM
	{
		public string SupplierId { get; set; }

		public string ProductId { get; set; }

		/// <summary>
		/// 报价
		/// </summary>
        [DataType(DataType.MultilineText)]
		public double? DeclarePrice { get; set; }

		/// <summary>
		/// 审核价
		/// </summary>
        [DataType(DataType.MultilineText)]
        public double? VerifyPrice { get; set; }
	}
}